import React, { Component } from 'react'
import { Button, Flex, DatePicker, Space  } from 'antd';
import { StepBackwardOutlined } from '@ant-design/icons';

export default class AntD extends Component {
  onChange(date, dateString){
    console.log(date, dateString);
  };
  render() {
    return (
      <>
        <Flex gap="small" wrap>
          <Button type="primary">Primary Button</Button>
          <Button>Default Button</Button>
          <Button type="dashed">Dashed Button</Button>
          <Button type="text">Text Button</Button>
          <Button type="link">Link Button</Button>
          <StepBackwardOutlined />
        </Flex>
        <DatePicker onChange={this.onChange} />
      </>
    )
  }
}
